-------------------------------------------------------------------
Mgosoft PDF To TIFF Command Line
Homepage: http://www.mgosoft.com
E-mail  : support@mgosoft.com
-------------------------------------------------------------------
Usage: pdftotiff <-i PDF File> [options]

-i <string>	:Specify input pdf file or folder.

-o <string>	:Specify output folder.

-w <string>	:Set Open pdf file password. 

-t <string>	:Set image type, default is 'tif'.
		-t tif	tif image file( -b 24, 8, 7, 4, 3, 1 ).
		-t tga	tga image file( -b 24, 8, 7 ).
		-t png	png image file( -b 24, 8, 7, 4, 3, 1 ).

-b <int>	:Set color depth.
		-b 24	True color( 24 bits )
		-b 8	256 color( 8 bits )
		-b 7	256 color grayscale( 8 bits )
		-b 4	16 color( 4 bits )
		-b 3	16 color grayscale( 4 bits )
		-b 1	black/white( 1 bits )
		
-q <int>	:Set quality for jpeg compression,from 1 to 100,default is 75.

-c <string>	:Set compression method for tiff files, default is 'jpeg'
		-c none		Create TIFF file without compression( -b 24, 8, 7, 4, 3, 1 )
		-c lzw		Compress TIFF using LZW arithmetic( -b 24, 8, 7, 4, 3, 1 )
		-c jpeg		Compress TIFF using JPEG arithmetic( -b 24, 7 )
		-c packbits	Compress TIFF using PACKBITS arithmetic( -b 24, 8, 7, 4, 3 )
		-c g4		Compress TIFF using CCITT G4 arithmetic( -b 1 )
		-c g3		Compress TIFF using CCITT G3 arithmetic( -b 1 )
		-c rle		Compress TIFF using RLE arithmetic( -b 1 )

-x <int>	:Set Horizontal resolution in generated image files,form 72 to 600, default is 72.

-y <int>	:Set Vertical resolution in generated image files,form 72 to 600, default is 72.

-g <int>	:Set rotate angle, 0,90,180,270

-s <string>	:set image size.
		-s 1024x768	Set generated image width is 1024, height is 768. 

-n <string>	:Set page range to convert.
		-n 2,5-15,20-	Extract page 2,page 5 through 15, page 20 through end.

-m		:Set output to multi-page TIFF file, default is output to single page TIFF files.

-r <string>	:Register.

-?		:Help.

-------------------------------------------------------
Example:

pdftotiff -i C:\input.pdf 
pdftotiff -i C:\inputpdf\ -o c:\output\
pdftotiff -i C:\input.pdf -o C:\output\ -b 4 -x 300 -y 300
pdftotiff -i C:\input.pdf -o C:\output\ -m -g 90
pdftotiff -i C:\input.pdf -o C:\output\ -c lzw 
pdftotiff -i C:\input.pdf -o C:\output\ -n 2,5-15,20-  
pdftotiff -i "C:\in put.pdf" -o "C:\out put\" -s 1024x768

-------------------------------------------------------
Please notice, if your input parameter contain space(s), you must use quotation mark to include them, 
for example: "C:\in put.pdf" "C:\out put\"